package com.pzh.vue.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.pzh.vue.pojo.RoleMenu;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface RoleMenuMapper extends BaseMapper<RoleMenu> {
    @Select("select menu_id from sys_role_menu where role_id = #{role_id}")
    List<Integer> findByRoleID(@Param("role_id") int roleId);
}
